package com.lwg.vhr.service.impl;

import com.lwg.vhr.mapper.NationMapper;
import com.lwg.vhr.model.Nation;
import com.lwg.vhr.service.NationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NationServiceImpl implements NationService {

    @Autowired
    private NationMapper nationMapper;
    @Override
    public List<Nation> getAllNations() {
        return nationMapper.getAllNations();
    }
}
